<%@ page language="java" import="java.util.*,com.knife.member.*,javax.mail.*" pageEncoding="UTF-8"%>
<%
  String suc = "suc";
  String username = request.getParameter("username");
  String email = request.getParameter("email");
  UserinfoDAO userinfodao = new UserinfoDAO();
  Userinfo userinfo = new Userinfo();
userinfo = (Userinfo)userinfodao.findByEmail(email).get(0);
userinfo.setActive(1);
userinfodao.update(userinfo);
  %>
<script language="javascript">
		location.href="/user.do?parameter=regSuccess";
</script>